package com.zhl.media.app.mvp.adapter;

import android.content.Context;

import com.zhl.media.app.R;
import com.zhl.media.commonsdk.entity.MyPushProjectApp;
import com.zhy.adapter.abslistview.CommonAdapter;
import com.zhy.adapter.abslistview.ViewHolder;

import java.util.List;

public class WorkProdListViewAdapter extends CommonAdapter<MyPushProjectApp> {

    public WorkProdListViewAdapter(Context context, int layoutId, List<MyPushProjectApp> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convert(ViewHolder viewHolder, MyPushProjectApp item, int position) {

        viewHolder.setText(R.id.proj_name,item.getProjectName());
        viewHolder.setText(R.id.ysc,item.getYazNum() + "");
        viewHolder.setText(R.id.zsc,item.getInstallTotalNum() +"");

    }
}
